package itdep.domain.common;

import itdep.domain.IisEntity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Lob;
import javax.persistence.Table;

/**
 * @author Mari
 * @version $Revision: 9 $ $Date: 2010-06-15 22:29:57 +0000 (Tue, 15 Jun 2010) $
 */
@Entity
@Table(name = "PICTURE")
public class Picture extends IisEntity {

	@Lob
	@Column(name = "DATA", nullable = false)
	private byte[] data;

	public byte[] getData() {
		return this.data;
	}

	public void setData(byte[] data) {
		this.data = data;
	}
}